|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.OfferingStrategy
negotiator.boaframework.offeringstrategy.other.GeniusTimeDependent_Offering
public class GeniusTimeDependent_Offering
The problem with the default TDT, is that when the negotiation starts, some time has already passed. For small domains this amount is negligible. However, for big domains this often results in the first offer not being the best possible offer.
| Field Summary |
|---|
| Fields inherited from class negotiator.boaframework.OfferingStrategy |
|---|
endNegotiation, helper, negotiationSession, nextBid, omStrategy, opponentModel |
| Constructor Summary | |
|---|---|
GeniusTimeDependent_Offering()
Empty constructor used for reflexion. |
|
GeniusTimeDependent_Offering(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms,
double e,
double k,
double max,
double min)
|
|
| Method Summary | |
|---|---|
BidDetails |
determineNextBid()
Simple offering strategy which retrieves the target utility and finds |
BidDetails |
determineOpeningBid()
Determines the first bid to be offered by the agent |
double |
f(double t)
From [1]: A wide range of time dependent functions can be defined by varying the way in which f(t) is computed. |
void |
init(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the offering strategy. |
double |
p(double t)
Makes sure the target utility with in the acceptable range according to the domain |
| Methods inherited from class negotiator.boaframework.OfferingStrategy |
|---|
endSession, getHelper, getNextBid, isEndNegotiation, loadData, setNextBid, storeData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeniusTimeDependent_Offering()
public GeniusTimeDependent_Offering(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms,
double e,
double k,
double max,
double min)
| Method Detail |
|---|
public void init(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
throws java.lang.Exception
OfferingStrategy
init in class OfferingStrategynegoSession - state of the negotiation.model - opponent model which may be used.oms - opponent model strategy which may be used.parameters - optional parameters for the offering strategy.
java.lang.Exception - if the offering strategy fails to initialize.public BidDetails determineOpeningBid()
OfferingStrategy
determineOpeningBid in class OfferingStrategypublic BidDetails determineNextBid()
determineNextBid in class OfferingStrategypublic double f(double t)
public double p(double t)
t -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||